package o;

import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable.Creator;
import com.google.android.gms.common.Feature;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import com.google.android.gms.common.internal.zza;

public final class apb implements Creator<zza> {
    public final /* synthetic */ Object[] newArray(int i) {
        return new zza[i];
    }

    public final /* synthetic */ Object createFromParcel(Parcel parcel) {
        int ˊ = SafeParcelReader.ˊ(parcel);
        Feature[] featureArr = null;
        Bundle bundle = null;
        int i = 0;
        while (parcel.dataPosition() < ˊ) {
            int ॱ = SafeParcelReader.ॱ(parcel);
            switch (SafeParcelReader.ˋ(ॱ)) {
                case 1:
                    bundle = SafeParcelReader.ʼ(parcel, ॱ);
                    break;
                case 2:
                    featureArr = (Feature[]) SafeParcelReader.ˎ(parcel, ॱ, Feature.CREATOR);
                    break;
                case 3:
                    i = SafeParcelReader.ˏ(parcel, ॱ);
                    break;
                default:
                    SafeParcelReader.ˎ(parcel, ॱ);
                    break;
            }
        }
        SafeParcelReader.ͺ(parcel, ˊ);
        return new zza(bundle, featureArr, i);
    }
}
